<template>
  <div>
    <dateTime :formItem="compConfig" :formNamePath="props.formNamePath"></dateTime>
  </div>
</template>

<script lang="ts" setup>
import { ref, computed, } from "vue"
import dateTime from "../../formitem/dateTime/index.vue"
import formItemForm from './config';
import { useColumnModel } from '@/components/draggable/hooks/useColumnModel';
const props = defineProps({
  element: [],
  formNamePath: [],
})
const compConfig = ref(JSON.parse(JSON.stringify(formItemForm.component.settings)));
useColumnModel(compConfig, computed(() => props.element));



</script>

<style lang="less" scoped></style>